﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PayRecord.aspx.cs" Inherits="AlbonWeb.Manager.OrderManager.PayRecord" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Pay Record</title>
    <link href="/css/dialog.css" rel="stylesheet" type="text/css" />
    <script src="/js/ADS.js" type="text/javascript"></script>
    <script src="/js/dialog.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="title" style="background-color: #B6C3D6">
        Order Ref#:
        <asp:Label ID="refNo" Text="" runat="server" />
    </div>
    <table class="detail_table" border="1" width="100%">
        <tr class="detail_head" style="background-color: #B0E0E6">
            <td align="center" colspan="3">
                finalTotal:<asp:Label ID="finalTotal" Text="" runat="server" />
            </td>
            <td colspan="2" align="left">
                Balance:
                <asp:Label Style="color: Red" ID="Balance" Text="" runat="server" />
            </td>
        </tr>
        <tr class="detail_head">
            <td>
                Receiver
            </td>
            <td>
                PayMent Money
            </td>
            <td>
                PayMent Remark
            </td>
            <td>
                createDate
            </td>
            <td>
                Delete
            </td>
        </tr>
        <asp:Repeater ID="repMain" runat="server">
            <HeaderTemplate>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td>
                        <%#Eval("receiver") %>
                    </td>
                    <td>
                        <%#Eval("payMoney") %>
                    </td>
                    <td>
                        <%#Eval("remark") %>
                    </td>
                    <td>
                        <%#Eval("createDate") %>
                    </td>
                    <td>
                        <asp:ImageButton ID="imgDelete" ImageUrl="/images/grv_delete.gif" CommandName='<%#Eval("ID")%>'
                            OnClientClick="return confirm('Are You Sure to Delete This Order?')" runat="server"
                            OnClick="imgDelete_Click" />
                    </td>
                </tr>
            </ItemTemplate>
        </asp:Repeater>
    </table>
    <table>
        <tr>
            <td align="right" style="width: 40%">
                <b>PayMent Money:</b>
            </td>
            <td align="left">
                <asp:TextBox ID="payMoney" runat="server" />
            </td>
        </tr>
        <tr>
            <td align="right" valign="top">
                <b>Remark:</b>
            </td>
            <td align="left">
                <asp:TextBox ID="remark" TextMode="MultiLine" Width="200px" Height="60px" runat="server" />
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Button ID="addPay" Text="Add" runat="server" OnClick="addPay_Click" />
            </td>
            <td align="center">
                <input type="button" onclick="goBack()" value="Back" />
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
